package exception;

import java.io.FileNotFoundException;

public class throwDemo {
    public static void main(String[] args) {
//        Student zs=new Student();
//        try {
//            zs.setAge(20);
//        } catch (FileNotFoundException e) {
//            System.out.println("有异常解决了");
//        }
//        System.out.println("此人的年龄为"+zs.getAge()+"岁");
//    }
//}
    }}
